/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package openfireconnection.user;

import com.mysql.jdbc.Connection;
import java.util.ArrayList;
import java.util.Map;
import openfireconnection.group.model.GroupModel;
import openfireconnection.group.model.MemberModel;
import openfireconnection.user.model.UserModel;

/**
 *
 * @author Miguel y Juanan - Telecor
 */
public interface ManejadorUsers 
{
    public int addUser(UserModel user);
    public int deleteUser(String userName);
    public UserModel getUser(String userName);
    public String getAuthorizedJIDs();
    public void deleteAdminOpenFire(String userName);
    public ArrayList<String> getFriends(String userName);
    public ArrayList<String> getNameUsers();
    public boolean isFriend(String userName, String userNameFriend);
    public int countFriends(String userName);
    public int countUsers();
    public boolean userExists(String userName);
    public String getDomain();
}
